package com.rover12421.zkm.asm

import org.objectweb.asm.MethodVisitor
import org.objectweb.asm.Opcodes
import org.objectweb.asm.tree.ClassNode

class ZkmClassNode(api: Int = Opcodes.ASM5) : ClassNode(api) {
    override fun visitMethod(access: Int, name: String?, desc: String?, signature: String?, exceptions: Array<out String>?): MethodVisitor {
        val mn = ZkmMethodNode(access, name, desc, signature,
                exceptions)
        methods.add(mn)
        return mn
    }
}